export const tableOption = {
  "border": true,
  "index": true,
  "indexLabel": "序号",
  "stripe": true,
  "menuAlign": "center",
  "align": "center",
  "dialogClickModal": false,
  "searchMenuSpan": 6,
  "column": [
	  {
      "type": "input",
      "label": "编号",
      "prop": "officeId",
      hide: true,
      addDisplay: false,
      editDisplay: false,
      "span": 12
    },	  {
      "type": "input",
      "label": "使用人员编号",
      "prop": "useId",
      hide: true,
      addDisplay: false,
      editDisplay: false,
      "span": 12
    },	  {
      "type": "select",
      "label": "地址",
      "prop": "areaId",
      formslot: true,
      slot: true,
      width: 300,
      rules: [{
        required: true,
        message: '请选择地址',
      }],
      "span": 12
    },	  {
      "type": "input",
      "label": "地址",
      "prop": "address",
      showColumn: false,
      hide: true,
      addDisplay: false,
      editDisplay: false,
      search: true,
      "span": 12
    },	  {
      "label": "房号",
      search: true,
      "prop": "roomNumber",
      slot: true,
      "type": "input",
      maxlength: 32,
      rules: [{
        required: true,
        message: "请输入房号",
      }],
      "span": 12
    },	  {
      "type": "select",
      "label": "类型",
      "prop": "roomType",
      dicUrl: '/admin/dict/type/office_type',
      rules: [{
        required: true,
        message: '请选择类型',
      }],
      "span": 12
    },	  {
      "type": "select",
      "label": "室内结构",
      "prop": "structure",
      rules: [{
        required: true,
        message: '请选择室内结构',
      }],
      dicUrl: '/admin/dict/type/housing_structure',
      "span": 12
    },	  {
      "type": "number",
      "label": "房间面积",
      maxRows: 999,
      "prop": "roomArea",
    },	  {
      "type": "select",
      "label": "使用状态",
      "prop": "status",
      value: '0',
      dicUrl: '/admin/dict/type/housing_use_status',
      "span": 12
    },	  {
      "type": "textarea",
      "label": "备注",
      "prop": "remark",
      hide: true,
      maxlength: 256,
      "span": 24
    },	  {
      type: 'upload',
      span: 24,
      loadText: '附件上传中，请稍等',
      listType:'picture-img',
      accept: ["image/png","image/jpeg","image/jpg"],
      tip: '只能上传jpg，png图片不超过20MB',
      fileSize: 20480,
      propsHttp: {
          res: 'data'
      },
      canvasOption: {
        text: ' ',
        ratio: 0.1
      },
      action: "/act/file/upload",
      "label": "结构图",
      "prop": "cover"
    // },	  {
    //   "type": "input",
    //   "label": "附件",
    //   "prop": "attachment",
    //   "span": 12
  },	  {
    "type": "input",
    "label": "录入人",
    "prop": "createRealname",
    editDisabled: true,
    addDisplay: false,
    hide: true,
    "span": 12
  },	  {
    "type": "input",
    "label": "创建部门名称",
    "prop": "createDeptName",
    hide: true,
    editDisabled: true,
    addDisplay: false,
    "span": 12
  },	  {
    "type": "input",
    "label": "创建时间",
    "prop": "createTime",
    hide: true,
    editDisabled: true,
    addDisplay: false,
    "span": 12
  },	  {
    "type": "input",
    "label": "更新时间",
    "prop": "updateTime",
    hide: true,
    editDisabled: true,
    addDisplay: false,
    "span": 12
    }  ]
}
